package org.threadCase4;

import org.threadCase4.RunnableDemo;

public class Demo {
    public static void main(String[] args) {
        RunnableDemo run = new RunnableDemo();
        Thread t1 = new Thread(run);
        Thread t2 = new Thread(run);
        Thread t3 = new Thread(run);
        Thread t4 = new Thread(run);
        Thread t5 = new Thread(run);
        t1.setName("甲");
        t2.setName("乙");
        t3.setName("丙");
        t4.setName("丁");
        t5.setName("戊");
        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }
}
